﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="InterviewerManagement.aspx.cs" Inherits="Admin_InterviewerManagement" %>

<asp:Content ID="Content3" ContentPlaceHolderID="head" Runat="Server">
<link rel="Stylesheet" href="style/StyleSheetAddmin.css" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentmain" Runat="Server">
    <div class="Hrmanagermenu">
    <h2>Interviewer Manager</h2>
    </div>    
    <div class="Hrmanagevalue">
        <asp:DropDownList ID="ddlSearch" runat="server">
            <asp:ListItem>InterviewerID</asp:ListItem>
            <asp:ListItem>FullName</asp:ListItem>
        </asp:DropDownList>
    <asp:TextBox ID="txtsearch" runat="server"></asp:TextBox>
    <asp:Button ID="btnSearch" runat="server" Text="Search..."  Width="100px" CssClass="btnSearch"
             onclick="btnSearch_Click"/>
    </div>
    <div>
        <asp:GridView ID="gvwInterviewer" runat="server" AutoGenerateColumns="False" 
            Width="700px" BackColor="White" BorderColor="#3366CC" BorderStyle="None" 
            BorderWidth="1px" CellPadding="4" Font-Size="12px" PageSize="20" 
            AllowPaging="True" GridLines="Vertical">
            <Columns>
                <asp:TemplateField HeaderText="InterviewerID">
                    <ItemTemplate>
                        <a href="AdminViewInforInterviewer.aspx?ID=<%# Eval("InterviewerID") %>" style="text-decoration:underline;color:#0000CC;"><asp:Label ID="lblUserName" runat="server" Text='<%# Eval("InterviewerID") %>'></asp:Label></a>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="FullName">
                <ItemTemplate>
                        <asp:Label ID="lblFullName" runat="server" Text='<%# Eval("FullName") %>' ></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Address">
                <ItemTemplate>
                        <asp:Label ID="lblAddress" runat="server" Text='<%# Eval("Address") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Phone">
                <ItemTemplate>
                        <asp:Label ID="lblPhone" runat="server" Text='<%# Eval("Phone") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="BirthOfDate">
                <ItemTemplate>
                        <asp:Label ID="lblBirthOfDate" runat="server" Text='<%# Eval("BirthOfDate") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Email">
                <ItemTemplate>
                        <asp:Label ID="lblEmail" runat="server" Text='<%# Eval("EmailID") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
            <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" 
                Font-Size="15px" />
            <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
            <RowStyle BackColor="White" ForeColor="#003399" />
            <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
            <SortedAscendingCellStyle BackColor="#EDF6F6" />
            <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
            <SortedDescendingCellStyle BackColor="#D6DFDF" />
            <SortedDescendingHeaderStyle BackColor="#002876" />
        </asp:GridView>
        <p>
            <asp:Button ID="Button1" runat="server" Height="27px" 
                PostBackUrl="~/Admin/AddnewEmployee.aspx" Text="Add new Interviewer" 
                Width="150px" />
        </p>
    </div>
</asp:Content>

